﻿// <copyright file="CandidateLocationTotal.cs" company="Microsoft Corporation">
// Copyright (c) 2009 Microsoft Corporation All Rights Reserved
// </copyright>
// <author>Michael S. Scherotter</author>
// <email>mischero@microsoft.com</email>
// <date>2009-06-12</date>
// <summary>CandidateLocationTotal class definition.</summary>

namespace NYTimes.Data
{
    /// <summary>
    /// Candidate Location total returned from the <see cref="NYTimes.StateZipTotals"/> Results.
    /// </summary>
    public class CandidateLocationTotal
    {
        /// <summary>
        /// Gets or sets the candidate's full name
        /// </summary>
        public string FullName { get; set; }

        /// <summary>
        /// Gets or sets the candidate's political party
        /// </summary>
        public string Party { get; set; }

        /// <summary>
        /// Gets or sets the state
        /// </summary>
        public string State { get; set; }

        /// <summary>
        /// Gets or sets the zip code
        /// </summary>
        public string ZipCode { get; set; }

        /// <summary>
        /// Gets or sets the total contribution amount in dollars
        /// </summary>
        public double Total { get; set; }

        /// <summary>
        /// Gets or sets the numer of contributions
        /// </summary>
        public int ContributionCount { get; set; }
    }
}
